﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Phosphogypsum_Property>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	材料信息
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="dolphincontainer">
	    <div id="dolphinnav">
	        <ul>
	            <li><a href="/Stack/Index"><span>堆场管理</span></a></li>
                <li><a href="/Stack/Edit/<%:ViewData["id"] %>"><span>基本信息</span></a></li>
                <li><a href="/Stack/Weather/<%:ViewData["id"] %>"><span>气象信息</span></a></li>
                <li><a href="/Stack/Stack/<%:ViewData["id"] %>"><span>堆场信息</span></a></li>
                <li><a href="/Stack/Pool/<%:ViewData["id"] %>"><span>调节水池</span></a></li>
                <li><a href="javascript:return(false);" class="current"><span>材料信息</span></a></li>
                <li><a href="/Stack/Settle/<%:ViewData["id"] %>"><span>沉降模型</span></a></li>
	        </ul>
	    </div>
	</div>

    
    <% using (Html.BeginForm())
    {%>
        <%: Html.ValidationSummary(true) %>
        <%: Html.HiddenFor(model => model.stack_id) %>
        <%
           bool result = (bool)ViewData["success"];
           if(result){ 
        %>
           <div style="margin-top:20px;font-weight:bold;color:blue">材料信息更新成功</div>
        <%
        }
        %>
            
    <table class="tableCss" cellspacing="0" cellpadding="0" align="center" border="0" style="margin-top:10px">
        <tr>
            <th colspan="2" class="heightrow" align="left" style="padding:10px">
                材料信息
            </th>
        </tr>
        <tr>
            <td class="row1" align="center" width="100px">e<sub>0</sub></td>
            <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_e0) %>
                <%: Html.ValidationMessageFor(model => model.material_property_e0) %>
            </td>
        </tr>
        <tr>
           <td class="row1" align="center">p<sub>0</sub></td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_p0) %>
                <%: Html.ValidationMessageFor(model => model.material_property_p0) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="center">t<sub>0</sub></td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_t0) %>
                <%: Html.ValidationMessageFor(model => model.material_property_t0) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="center">C<sub>c</sub></td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_cc) %>
                <%: Html.ValidationMessageFor(model => model.material_property_cc) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="center">C<sub>a</sub></td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_ca) %>
                <%: Html.ValidationMessageFor(model => model.material_property_ca) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="center">C</td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_C) %>
                <%: Html.ValidationMessageFor(model => model.material_property_C) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="center">B</td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_B) %>
                <%: Html.ValidationMessageFor(model => model.material_property_B) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="center">A</td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_A) %>
                <%: Html.ValidationMessageFor(model => model.material_property_A) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="center">n</td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.material_property_n) %>
                <%: Html.ValidationMessageFor(model => model.material_property_n) %>
           </td>
        </tr>
    </table>
    
    <div style="margin-top:25px;text-align:center">
        <input type="submit" value="提    交" style="font-size:16px;font-weight:bold" />
    </div>
    <% } %>
</asp:Content>
